import Vue from 'vue'
import Router from 'vue-router'
import views from 'views'
import home from 'views/home'

Vue.use(Router);

const routes = [
    {
        path     : '/',
        component: home
    },
    ...[views]
];

export default new Router({routes, mode: 'history'})
